<?php

namespace App\Repositories;

use App\Models\Ability;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class AbilityRepository
 * @package App\Repositories
 * @version October 25, 2017, 11:08 am CST
 *
 * @method Ability findWithoutFail($id, $columns = ['*'])
 * @method Ability find($id, $columns = ['*'])
 * @method Ability first($columns = ['*'])
*/
class AbilityRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'name',
        'display_name',
        'desc',
        'staus'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return Ability::class;
    }
}
